// VBConversions Note: VB project level imports
using System.Collections.Generic;
using System;
using System.Linq;
using System.Drawing;
using System.Diagnostics;
using Microsoft.VisualBasic;
using System.Xml.Linq;
using Microsoft.VisualBasic.Compatibility;
using System.Windows.Forms;
using System.Collections;
using System.Data;
// End of VB project level imports


namespace 喷码数据生成工具
{
	sealed class RemedyCode
	{
		public enum InputDialogResult
		{
			OK,
			Cancel
		}
		public static InputDialogResult SelectInput = new InputDialogResult();
		public static string InputText;
		public static string ShowInput(Form Owner, string Title = "InputBox", string DefaultValue = "", bool LimitKeyPress = true)
		{
			Remedy_InputBox frm = new Remedy_InputBox(Title, DefaultValue, LimitKeyPress);
			frm.StartPosition = FormStartPosition.CenterScreen;
			frm.ShowDialog(Owner);
			if (SelectInput == InputDialogResult.OK)
			{
				return InputText;
			}
			else
			{
				return "";
			}
		}
	}
	
}
